package com.yolo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 霜蟾
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yolo_errand")
public class Errand implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 出差编号
     */
    @TableId(value = "errand_id", type = IdType.AUTO)
    private Integer errandId;

    /**
     * 出差时间
     */
    private LocalDateTime errandTime;

    /**
     * 出差天数
     */
    private Integer errandDay;

    /**
     * 出差地点
     */
    private String errandPlace;

    /**
     * 每日补贴
     */
    private Double errandSubsidy;

    /**
     * 员工编号
     */
    private Integer empId;


}
